package com.xunfang.mapper;

import com.xunfang.bean.Building;
import com.xunfang.bean.Owner;
import com.xunfang.bean.dto.BuildQueryDTO;
import com.xunfang.bean.dto.OwnerQueryDTO;

import java.util.List;

/**
 * @author yellow Docter
 * @date 2023 -11-06
 * @desc
 */
public interface OwnerMapper {

    List<Owner> findOwners(OwnerQueryDTO ownerQueryDTO);

    Owner findOwnerById(Integer id);

    int addOwner(Owner owner);

    int updateOwnerById(Owner owner);

    int deleteOwnerById(Integer id);
}
